<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="/usercenter/include/base_usercenter_pre_part.jsp"></jsp:include>
<div class="box_blue">
	<div class="box_title">
		我的公司
	</div>
	<div>
		<a href="<%=request.getContextPath()%>/company/editCompany.do">新建公司</a>
	</div>
	<s:if test="companies==null || companies.size==0">
		<s:text name="company.no.record"></s:text>
	</s:if>
	<s:else>
		<ul>
			<s:iterator value="companies">
				<li>
					<a href="<%=request.getContextPath()%>/company/viewCompany.do?id=<s:property value="id"/>"> <s:property value="name" /> </a>
					<a href="<%=request.getContextPath()%>/company/removeCompany.do?id=<s:property value="id"/>"> Delete </a>
				</li>
			</s:iterator>
		</ul>
	</s:else>
</div>
<jsp:include page="/usercenter/include/base_usercenter_last_part.jsp"></jsp:include>